<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<div id="content" class="col-lg-10 col-sm-10">
    <!-- content starts -->
    <div>
        <ul class="breadcrumb">
            <li>
                <a href="#">Home</a>
            </li>
            <li>
                <a href="#">View Lectures</a>
            </li>
        </ul>
    </div>


                <div class="box-content">
                    <table class="table">
                        <thead>
                            <tr>
                                <th>Lid</th>
                                 <th>Date</th>
                                <th>Time</th>
                                <th>Faculty</th>
                                <th>Division</th>
                                <th>Action</th>
                            </tr>
                        </thead>
                        <tbody>


                            <c:forEach items="${applicationScope.alllectures}" var="lecture">
                                <tr id="tr_${lecture.id}">
                                    <td class="center" id="td_id_${lecture.id}">${lecture.id}</td>
                                    <td class="center" id="td_time_${lecture.id}">${lecture.ldate}</td>
                                    <td class="center" id="td_time_${lecture.id}">${lecture.ltime}</td>
                                    <td class="center" id="td_time_${lecture.id}">${lecture.fid}</td>
                                    <td class="center" id="td_time_${lecture.id}">${lecture.divid}</td>
                                    
                                    <td class="center">
                                        
                                        <a href="EditLectureAction.do?id=${lecture.id}"><button class="label-success label label-default">Edit</button></a> 
                                        <button class="label-success label label-default delete_button" id="delete_${lecture.id}">Delete</button>
                                    </td>
                                </tr>
                            </c:forEach>

                        </tbody>
                    </table>
<!--                    <ul class="pagination pagination-centered">

                        <c:forEach begin="1" end="${sessionScope.iteration}" var="i">
                            <li class="active">
                                <a href="ViewStudentAction.do?id=<c:out value="${i}"></c:out>">${i}</a>
                                </li>
                        </c:forEach>


                    </ul>-->
                </div>
            </div>
        </div>
        <!--/span-->


        <!--/span-->
    </div>
</div>